simplified app login logic
added alert when user types wrong chat room name