Generated devise:user.
Configured default url.
Added authetication for user in file_records.