Redo login, change database record to work with friend better, and test login + registration