Add logics for front end
!Merge branch 'master' of github.com:khointran/rideshares