set cookie max age
added user search functionality. Now the friends tab will fetch user data using REST endpoint