Implemented log in methods and session tokens