Added login and register API endpoints and cleaned up import statements
Added login and register API endpoints and cleaned up import statments