Added endpoint to login
Added token validation