added validation in model, make routes restful, design form for invite friends manually