Did some preliminary stuff for login page