I don't get exactly what you mean. In any case, if you are trying to implement a login so that the user is redirected to a custom page based on its name, what i've seen is that once the login information is sent, the user is checked against a db. In the db there is also information about the user type. You should use that type to redirect the user to a custom page based on the type. For example, user type 1 (admin) should be redirected to a different page than user type 2 (customer), and so on.