Made Login and Register endpoints use POST