[Proposal] - rails default authentication redirect if already signed in

I have been using Rails default authentication for some MVP, it is wonderful feature I just faced one issue if the user is already signed in then it behaves weirdly and shows errors

So fixed this for such people who want to start with the basic version without any confusion and build on top of it, please give feedback and correct

PR