Fixed login in homepage