created galleries and controller file. Login not working