(Joyce): Ajax login implemented! Ajax logout coming later