title: Oracle Apex - Creating own Login page
body: <p>I created a new login page wherein only those account that can be found on the database could login to our home page... 
  What i plan is when i click the login button, the user will be redirected to the home page.. I do this by creating a new branch and then in the conditions tab, i put the code for checking the existence of the account that has been inputted in the text field.. but what happened is it just show an error message 'invalid login credentials' always...</p>
  
  <p>i'm sure that the code in conditions that we put is correct,,,, it could detect that the username and password is wrong because it shows the error message i created that returns when this happend...</p>
  
  <p>here is the code in my conditions.. check_login is a procedure that returns true if the account is found in the database...</p>
  
  <pre><code>if CHECK_LOGIN(:P111_USERNAME, :P111_PASSWORD) then return true;
  else
  return false;
  end if;
  </code></pre>
  
  <p>could anyone help us with this one? Thanks in advance</p>