{
// Set up your database Tools
DatabaseTools myTools = new DatabaseTools();
// See if the user exists and if the password is correct
boolean userFound = myTools.dataSearch("User", "email", email, "password", password);
// If found create StatusOutput=TRUE and return
if(userFound){
ObjectRetrievalTools<User> myUser = new ObjectRetrievalTools<User>();
User test = myUser.getObject(Table.User, "email", email);