Refactoring login. Implementing login redirect.
Refactored jsp files