Move checkLogin stuff to login panel