fixed bug for login page button for register activity

#185