Mantain user session

Add login capabilities and mantain the user as a session token.