Fixed a problem with the session losing the user. After this i wil modify the interface.