Add user login model logic