Created session upon successful login and started the session on every page reload after login.