Reorganize views by adding user authentication