layout
infinite loop in authentication fixed