added current user variable in app controller. authorization/authentication done