controller home and auth pages made