added login and push prototype