Finished implemented basic login