Viewing user profiles

Bunch of commits around refactoring user login and member profile search