make login work and update style