login and frontpage cleanup