login working properly, still need to fully implement and add sessions ect