fixed parse issue for login
going over code style p1
going over code style p2
refactoring p3
finished looking over code styling
added smart redirect to signup