Finished login and register logic

Added checks on username length, regex for email, password matching
checks, fixed all error messages related to logging in and registering