Refactored code
Did login and session storage on client
Fifi login and registration form client validation