Added loader for Register and login. fixed some minnor ui.