adding beginning of login functionality, removing unused fields from api