Creating function itself with an assumption of how the login function will work. Testing.
Still need to modify based on what the login function ends up looking like.