Added login required, and added search of users using username