added post method in User class
added same? method