"Log in" (two words) is a verb, indicating the action of, well, logging in. "Login" (one word) is a noun, indicating the credentials used to log in.