A bit of cleanup for the login panel and backend