add user, event, search controller
update internal#index
update search#index, add friendship model
add login, register, and logout function
add search and add friend functions