Use of Fragments and AsyncTasks. Register and Login authentication working.