Used RequestContext.getUser() to get loggedIn Users emailId.