Working login and deploy. Will fix return statement.