Fixed bug with member login