Added style and functionality to login system