added login, fixed navpoints