move login panel and clean up