Fixes jquery bug and styles login and register pages