all functions (including login) working