Fixed security flaw in login, updated CSS using media queries