login and paperclip