finish login layout and routes