Auth improvements and main layout created