login stuff and fixed styles for door sensor