adding one to one relations and editting login
edits