Authenticate users and link them to posts