added signing in feature and updated creating posts accordingly