Adding devise based user authentication
Removing ~ temp file.