layout update, added back sign in and out and register functionality