Improve login process
views.py: Remove redundancies in cookie processing
views.py: Remove redundancies in parsing user information