Fixing login, and prof star bug. TODO: show error on failed login