login page for users in wordpress

I am new to WordPress. I have a Login and the Register form for the user, if he is login then he will be redirected to user_details page. In that page he will be able to see Information. so, where I should write the query, database connection.I have a database with the table name Users.

Source: wordpress

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.