add api endpoint for logging in and out
make picklist work correctly utilizing the type property