Added functionality to login box, added sign up box