Fixed some bugs and updated log in and sign up pages