app: added methods for login activity for easier code
app: better code for sign up actvitiy