Added AsyncTasks for login and register